package com.example.state;

import com.example.Machine;

public class SoldOutState implements State {

    Machine machine;

    public SoldOutState(Machine machine) {
        this.machine = machine;
    }

    @Override
    public void insertQuarter() {
        System.out.println("糖果机器里面没有糖果了哦");
    }

    @Override
    public void ejectQuarter() {
        System.out.println("糖果机器里面没有糖果了哦");
    }

    @Override
    public void turnCrank() {
        System.out.println("糖果机器里面没有糖果了哦");

    }

    @Override
    public void dispense() {
        System.out.println("糖果机器里面没有糖果了哦");

    }

}
